﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:n="http://nRoute/schemas/2010/xaml"
    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" 
	x:Class="nRoute.Samples.SiteMapClient.Views.Home"
    mc:Ignorable="d"
    d:DesignWidth="640" d:DesignHeight="480">
    
	<i:Interaction.Behaviors>
		<n:BridgeViewModelBehavior/>
	</i:Interaction.Behaviors>
    
    <Grid x:Name="LayoutRoot" Background="White">
        <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource PageScrollViewerStyle}">

            <StackPanel x:Name="ContentStackPanel">
                <TextBlock Style="{StaticResource ContentTextStyle}" Text="Home page content" />
				<TextBlock Style="{StaticResource ContentTextStyle}"
					Text="{Binding LastViewed, StringFormat='Last Viewed at {0:dd-MMM hh:mm:ss tt}',
							TargetNullValue='Last Viewed - Never'}" /> 
            </StackPanel>

        </ScrollViewer>
    </Grid>
</UserControl>
